package cn.dakaqi.volunteer.tag;

import cn.dakaqi.entities.PlatformGroupVolunteer;
import cn.dakaqi.utils.exception.ServiceRuntimeException;

/**
 * Created by chunyang on 2016/6/5.
 */
public interface PlatformGroupVolunteerService
{
    void save(long groupId,long volunteerId)throws ServiceRuntimeException;
    void save(PlatformGroupVolunteer platformGroupVolunteer)throws ServiceRuntimeException;
    void update(PlatformGroupVolunteer platformGroupVolunteer)throws ServiceRuntimeException;
    void delGroupAndPlat(long groupId, long platformId) throws ServiceRuntimeException;
    void exitGroup(long groupId) throws ServiceRuntimeException;
    void expelGroup(long groupId) throws ServiceRuntimeException;
}
